﻿using System;
using System.Collections.Generic;
using System.Text;
using VisionCloud.Core.Model.Enums.Schedule;

namespace VisionCloud.Domain.DtoModel.Schedule.WorkOrder
{
    public class GetSimpleGroupRspDto
    {
        public string Province { set; get; }
        public List<WorkOrderSimpleDto> WorkOrders { set; get; }
    }

    public class WorkOrderSimpleDto
    {
        public Guid Id { get; set; }
        public string ProcedureCode { get; set; }
        public string CreateTime { get; set; }
        public WorkOrderStatusEnum Status { get; set; }
        public string Province { get; set; }
        public string ProjectName { get; set; }
        public double Longitude { set; get; }
        public double Latitude { set; get; }
        public string OrderName
        {
            get
            {
                return ProjectName + "测量机器人";
            }
        }
    }
    public class WorkOrderLocationDto
    {
        public Guid Id { set; get; }
        public double Longitude { set; get; }
        public double Latitude { set; get; }
        public WorkOrderStatusEnum Status { get; set; }
    }
}
